<?php
class EventManager_Form_User_Register extends EventManager_Form_User_Base{
	public function init(){
		parent::init();
		$this->removeElement('usr_id');
		$this->getElement('submit')->setLabel('Register');
		$this->removeElement('role');
		
		$rights = $this->getElement('rgh_id'); 
   		$r = $this->_model->getUserRights()->toArray();
    		foreach($r as $key => $value){
    			$rights->addMultiOption($value['rgh_id'],$value['rgh_title']);
    		}
	}
}